package com.shop.cereshop.app.page.recommend;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.shop.cereshop.commons.domain.recommend.CereRecommendType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 话题类型返回值
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "RecommendTypeVO", description = "话题类型返回值")
public class RecommendTypeVO extends CereRecommendType {

    @ApiModelProperty(value = "话题下动态数量")
    private Integer recommendCount;

    @ApiModelProperty(value = "话题浏览数量")
    private Integer viewCount;

    @ApiModelProperty(value = "当前话题下热门动态id")
    @JsonIgnore
    private List<Long> recommendIds;

    @ApiModelProperty(value = "动态列表")
    private List<RecommendPageVO> recommendPageVOs;
}
